all:server client tcp_server
server:server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -g
client:tcp_client.cc
	g++ -o $@ $^ -std=c++11 -g
tcp_server:tcp_server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -g
.PHONY:clean
clean:
	rm -rf server client tcp_server